package cn.edu.scau.entity;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * 膳食统计显示类
 * @author ZERO
 *
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
public class DishCalenderShow implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5917583507277401609L;

	/**
	 * 膳食统计编号
	 */
	private Integer dishcalenderid;

	/**
	 * 膳食编号
	 */
	@Min(value = 1)
	private Integer dishid;

	/**
	 * 膳食名称
	 */
	@NotBlank(message = "膳食名称不能为空")
	private String dishname;

	/**
	 * 膳食安排年月日
	 */
	private Date dishcalenderdate;

	/**
	 * 膳食安排时间段（早餐、午餐、下午茶、晚餐）
	 */
	private String dishcalendertime;

	/**
	 * 安排份数
	 */
	@Min(value = 1)
	private Integer dishcalenderamount;
}
